package cn.com.connected.service;

import cn.com.connected.base.params.page.BaseSearchDto;
import cn.com.connected.base.params.page.PageResult;
import cn.com.connected.dto.SysPublicDto;
import cn.com.connected.dto.search.SysPublicSearchDto;
import cn.com.connected.vo.SysPublicVo;

/**
 * 公告
 *
 * @author sms
 * @email sms@live.com
 * @date 2022-10-31 14:09:14
 */
public interface SysPublicService{

    SysPublicVo sysPublicAdd(SysPublicDto sysPublicDto);

    void sysPublicEdit(String id,SysPublicDto sysPublicDto);

    SysPublicVo sysPublicInfo(String id);

    void sysPublicDel(String id);

    PageResult<SysPublicVo> sysPublicPage(BaseSearchDto<SysPublicSearchDto> searchParams);

}

